﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ExportUserPrefab : MonoBehaviour {
    public Text m_UserText;
    public Image m_Background;
    // Use this for initialization
    void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
    public void OnClick() {
        ExportMgr.s_Instance.OnClickUser(this);
    }
    public void SetState(bool isOn) {
        if (isOn) {
            m_Background.color = Color.gray;
        } else {
            m_Background.color = Color.white;
        }
    }
}
